package com.example.test_demo.suanfa;

public class Test {
	public static void main(String[] args) {
		Accumulator accumulator = new Accumulator(1.0, 1.0, 3);
		accumulator.addDataValue(22.0);
		double mean = accumulator.mean();
		double var = accumulator.var();
		double stddev = accumulator.stddev();
		System.out.println("mean"+mean+"var"+var+"stddev"+stddev);
	}

}
